<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
if(!defined('TinyFW')) exit('Access denied!');

//system config file, the system will read this file at first, then the application config file. 
$config = array(

    //basic configuration
    "sys_name" => 'Tiny Framework',
    "sys_version" => '0.1 dev',
    "sys_author" => "Linfeng Wu",
    "sys_release_time" => "20100114",
    "sys_domain" => "localhost",

    //template config
    "tpl_engine" => "Smarty",

    //default app, module and action
    'default_app' => 'default',
    'default_module'=>'main',
    'default_action' => 'indexAction',

    //default time zone
    'timezone' => 'Asia/Shanghai',


    //use db?
    'use_db' => true,

    
    //here is the db configuration
    //'db_type' => 'mysqli',
    //'db_host' => 'localhost',
    //'db_user' => 'root',
    //'db_password' => '',
    //'db_dsn' => 'mysql:dbname=tinyfw;host=localhost',
    //'db_name' => 'tinyfw',

    //pg demo
    'db_type' => 'pgsql',
    'db_host' => 'localhost',
    'db_user' => 'postgres',
    'db_password' => '1234qwer',
    //'db_dsn' => 'mysql:dbname=tinyfw;host=localhost',
    'db_name' => 'tinyfw',

    
    
);



?>
